package net.dopan.pigframe.demo.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.*;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("publish_note_tag" )
public class PublishNoteTag extends Model<PublishNoteTag> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "note_tag_id", type = IdType.AUTO)
    private Integer noteTagId;
    @TableField("note_tag_name" )
    private String noteTagName;
    /**
     * 1禁止使用 0可以使用
     */
    @TableField("forbidden" )
    private byte forbidden;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
